package cn.bdqn.eureka.consume.interfaces;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "SERVICE-PROVIDER")
public interface HelloService {

    @RequestMapping(value = "/hi",method = RequestMethod.GET)
    String getHelloMsg(String name);
}
